package cn.com.enersun.iec61850.web.domain;

import org.openmuc.openiec61850.Fc;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by YYC on 2017/5/4.
 */
public class ServerModelValue implements Serializable {
    private Integer id;
    private Date date;
    private String devName;
    private String selfNode;
    private String nodeValue;
    private Fc fc;

    public ServerModelValue(Integer id, Date date, String devName, String selfNode, String nodeValue, Fc fc) {
        this.id = id;
        this.date = date;
        this.devName = devName;
        this.selfNode = selfNode;
        this.nodeValue = nodeValue;
        this.fc = fc;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getDevName() {
        return devName;
    }

    public void setDevName(String devName) {
        this.devName = devName;
    }

    public String getSelfNode() {
        return selfNode;
    }

    public void setSelfNode(String selfNode) {
        this.selfNode = selfNode;
    }

    public String getNodeValue() {
        return nodeValue;
    }

    public void setNodeValue(String nodeValue) {
        this.nodeValue = nodeValue;
    }

    public Fc getFc() {
        return fc;
    }

    public void setFc(Fc fc) {
        this.fc = fc;
    }

    @Override
    public String toString() {
        return "ServerModelValue{" +
                "id=" + id +
                ", date=" + date +
                ", devName='" + devName + '\'' +
                ", selfNode='" + selfNode + '\'' +
                ", nodeValue='" + nodeValue + '\'' +
                ", fc=" + fc +
                '}';
    }
}
